public class ThrowException {

    public void foo() throws RuntimeException {
        int i = 0;
        try {
            i++;
        } catch (NullPointerException e) {
        } finally {
            i = 0;
        }
    }
}
